package com.tcs.gamed.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.tcs.gamed.shared.model.FolderItem;

public interface FolderServiceAsync {

    void getItem(String key,
            AsyncCallback<FolderItem> callback);

    void getChildren(String key,
            AsyncCallback<List<FolderItem>> callback);

    void makeFolder(String name, String comment, String parentKey,
            AsyncCallback<FolderItem> callback);

    void editFolder(String key, String name, String comment, String parentKey,
            AsyncCallback<FolderItem> callback);
}
